﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ShenNius.Blog.ViewModels
{
    public class CmsArtcileVM
    {

        public int Id { get; set; }

        public string Summary { get; set; }
        public int ColumnId { get; set; } = 0;
        public string Title { get; set; }
        public string KeyWord { get; set; }
        /// <summary>
        /// Desc:作者
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string Author { get; set; }
        /// <summary>
        /// Desc:来源
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// Desc:是否外链
        /// Default:b'0'
        /// Nullable:False
        /// </summary>
        public bool IsLink { get; set; } = false;

        /// <summary>
        /// Desc:外部链接地址
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string LinkUrl { get; set; }
        public string CreateTime { get; set; }
        public string Tag { get; set; }

        public string EnTitle { get; set; }

        public string ThumImg { get; set; }
        public string Content { get; set; }
        public string ColumnName { get; set; }
        /// <summary>
        /// Desc:点击量
        /// Default:0
        /// Nullable:False
        /// </summary>
        public int Hits { get; set; } = 0;

        /// <summary>
        /// Desc:最后点击时间
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string LastHitDate { get; set; }
        public string ParentColumnUrl { get; set; }
    }
}
